package com.badibadi.serializable;

import java.io.Serializable;

public class PostActivityData implements Serializable {

	private static final long serialVersionUID = -4985060025705940710L;
	/**
	 * 活动类型
	 */
	private String ActivityType;
	private boolean isLine;// 是线上吗？
	// 名称
	private String Name;
	// 开始时间
	private String StartTime;
	// 结束时间
	private String EndTime;
	// 上传的俱乐部封面
	private String uri_pic;
	// 活动内容
	private String ActivityContent;
	// 显示在我的动态
	private boolean ShowMyDynamic;// (不是传给服务器的参数)
	// 地址
	private String Adress;
	// 适合族群
	private String Shihezhuqun;

	private String cid;// （线上AND线下）俱乐部ID
	private String uid;// （线上AND线下）发布活动的用户ID
	private String is_gold;// （线上AND线下）加入该活动是否需要金币 0：否，1：是
	private String activity_gold;// （线上AND线下）若需要金币，那么需要多少金币 当不需要金币加入时，则为0
	private String is_limit;// （线上AND线下）该活动是否限制人数加入 0：否，1：是
	private String activity_limit;// （线上AND线下）若限制人数加入，那么人数上限，当不限制时则为0
	private String activity_status;// （线上AND线下）加入该活动的权限 1：所有人，2：会员
	private String is_online;// （线上AND线下）线上OR线下 0：线下，1：线上
	private String is_show;// （线上AND线下）是否显示到动态栏 0：否，1：是
	private String activity_organization;// （线下）发起组织
	private String activity_organization_introduce;// （线下）发起组织介绍
	private String map_x;// （线下）活动地点纬度 格式：40.345367 0.0000000
	private String map_y;// （线下）活动地点经度 格式：130.569536 0.0000000

	/**
	 * 线上的构造
	 * 
	 * @param activityType
	 * @param isLine
	 * @param name
	 * @param startTime
	 * @param endTime
	 * @param uri_pic
	 * @param activityContent
	 * @param showMyDynamic
	 */
	public PostActivityData(String cid, String activityType, boolean isLine,
			String name, String startTime, String endTime, String uri_pic,
			String activityContent) {
		super();
		this.cid = cid;
		ActivityType = activityType;
		this.isLine = isLine;
		Name = name;
		StartTime = startTime;
		EndTime = endTime;
		this.uri_pic = uri_pic;
		ActivityContent = activityContent;
		// ShowMyDynamic = showMyDynamic;
	}

	/**
	 * 线下的构造
	 * 
	 * @param activityType
	 * @param isLine
	 * @param name
	 * @param startTime
	 * @param endTime
	 * @param Address
	 * @param Shihezhuqun
	 * @param uri_pic
	 * @param activityContent
	 */
	public PostActivityData(String cid, String activityType, boolean isLine,
			String name, String startTime, String endTime, String Address,
			String Shihezhuqun, String uri_pic, String activityContent,
			String map_x, String map_y) {
		super();
		this.cid = cid;
		this.map_x = map_x;
		this.map_y = map_y;
		ActivityType = activityType;
		this.isLine = isLine;
		Name = name;
		StartTime = startTime;
		EndTime = endTime;
		this.Adress = Address;
		this.Shihezhuqun = Shihezhuqun;
		this.uri_pic = uri_pic;
		ActivityContent = activityContent;

	}

	public String getActivityType() {
		return ActivityType;
	}

	public void setActivityType(String activityType) {
		ActivityType = activityType;
	}

	public boolean isLine() {
		return isLine;
	}

	public void setLine(boolean isLine) {
		this.isLine = isLine;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getStartTime() {
		return StartTime;
	}

	public void setStartTime(String startTime) {
		StartTime = startTime;
	}

	public String getEndTime() {
		return EndTime;
	}

	public void setEndTime(String endTime) {
		EndTime = endTime;
	}

	public String getUri_pic() {
		return uri_pic;
	}

	public void setUri_pic(String uri_pic) {
		this.uri_pic = uri_pic;
	}

	public String getActivityContent() {
		return ActivityContent;
	}

	public void setActivityContent(String activityContent) {
		ActivityContent = activityContent;
	}

	public boolean isShowMyDynamic() {
		return ShowMyDynamic;
	}

	public void setShowMyDynamic(boolean showMyDynamic) {
		ShowMyDynamic = showMyDynamic;
	}

	public String getAdress() {
		return Adress;
	}

	public void setAdress(String adress) {
		Adress = adress;
	}

	public String getShihezhuqun() {
		return Shihezhuqun;
	}

	public void setShihezhuqun(String shihezhuqun) {
		Shihezhuqun = shihezhuqun;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getIs_gold() {
		return is_gold;
	}

	public void setIs_gold(String is_gold) {
		this.is_gold = is_gold;
	}

	public String getActivity_gold() {
		return activity_gold;
	}

	public void setActivity_gold(String activity_gold) {
		this.activity_gold = activity_gold;
	}

	public String getIs_limit() {
		return is_limit;
	}

	public void setIs_limit(String is_limit) {
		this.is_limit = is_limit;
	}

	public String getActivity_limit() {
		return activity_limit;
	}

	public void setActivity_limit(String activity_limit) {
		this.activity_limit = activity_limit;
	}

	public String getActivity_status() {
		return activity_status;
	}

	public void setActivity_status(String activity_status) {
		this.activity_status = activity_status;
	}

	public String getIs_online() {
		return is_online;
	}

	public void setIs_online(String is_online) {
		this.is_online = is_online;
	}

	public String getIs_show() {
		return is_show;
	}

	public void setIs_show(String is_show) {
		this.is_show = is_show;
	}

	public String getActivity_organization() {
		return activity_organization;
	}

	public void setActivity_organization(String activity_organization) {
		this.activity_organization = activity_organization;
	}

	public String getActivity_organization_introduce() {
		return activity_organization_introduce;
	}

	public void setActivity_organization_introduce(
			String activity_organization_introduce) {
		this.activity_organization_introduce = activity_organization_introduce;
	}

	public String getMap_x() {
		return map_x;
	}

	public void setMap_x(String map_x) {
		this.map_x = map_x;
	}

	public String getMap_y() {
		return map_y;
	}

	public void setMap_y(String map_y) {
		this.map_y = map_y;
	}

}
